using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Entitas;
using UnityEngine.UI;

public sealed class RankingListViewController : ViewController
{
	[SerializeField]
	private Transform itemRoot;
	
	[SerializeField]
	private GameObject itemPrefab;

	[SerializeField]
	private Button maskBtn;
	// Use this for initialization
	void Start () {
		maskBtn.onClick.AddListener(() => {
			GetComponent<EntityLink>().entity.flagDestroy = true;
		});	
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
